058 timer (ton tof) usage

您好,在这个视频中,我们将继续学习 FCL 编程语言,我将创建一个新项目并共享该语言,我会说,好的,现在是本课。
Hello, in this video, we are going to continue to learn FCL programming language, I will create a new project and the language is shared and I will say, OK, and now this lesson.

我们可以看看时代。
We can take a look to times.

首先,如果你来到这里,像这样输入T on或T of,这个区域就会出现OK,我会按时使用T on。
First of all, if you come to here and type T on or T of like this, this area will be appeared OK, and I will use T on time.

例如,这是关于延迟时间或数据块。
For example, this is on delay time or data block.

OK,然后你可以看到这些都已经自动分配到这里了。
OK, and then you can see these are all automatically assigned to here.

让我们继续编写我们的项目。
And let us continue to write our project.

例如,如果我们可以去税务区并显示全部内容。
If, for example, we can go to the tax area and show whole takes.

在这里我会说输入一,好的,这将是默认表,这就是。
And in here I will say input one, OK, and this will be the default table and will and this is.

比尔,再说一遍,地址不应该是“我是零点零”。
Bill, again, the address should be not I am zero point zero.

好吧。
OK, then.

说,好的,让我们说输入“确定”,然后我们去缅因州,或者如果输入一则再次在这里。
Say, OK, and let's say input to OK, and let's go to Maine or again in here if input one.

这个计时器将被激活,对于这个计时器,我们需要什么,我们需要在这里输入,我会说输入。
This timer will be activated, and for this timer, what we need, we need this input in here, I will say input.

两个,好吧,我就这么做。
Two, OK, and I will just.

正在寻找。
Searching.

对于输入来说,这是正确的。
For input, that's correct.

目前,我们需要的东西就在这里。
And for the time, what we need, we need to right here.

时间,例如五秒,这是正确的。
Time, for example, five seconds and that's correct.

和。
And.

如果我听到,好吧,如果输入一个八度音程,然后这个,呃,区域将被激活,并且在输入二被激活后,会发生什么,这个计时器将被激活。
If I hear, OK, what will happen if input one octave and then this, uh, area will be active and after input two is active, this timer will be activated.

在这个计时器之后,我们可以在这里说什么呢?
And after this timer, what can we say to here, for example?

我们可以继续。
We can continue.

在这里,我们可以说只有时间会指向,好的,如果这个活动的话。
In here, we can say only time will point to, OK, if this active.

如果Andre Timewell指向Cuba,那么例如输出三等于。
If Andre Timewell point Cuba, then for example, output three equals to.

德鲁.
Drew.

例如,如果这个输出,我们可以说为零,让我们定义赌注,这将是全局输出,并且将被构建。
And if and this output, for example, we can say zero and let's define the stake and this will be global output and this will be built.

好的,零点零。
OK, and zero point zero.

让我们定义它,然后启动我们的模拟器。
And let's define it and let's start our simulator at this moment.

会发生什么?
What will happen?

这是我们将按输入一,好吗?
This is we will press input one, OK?

然后,该定时器将在输入二激活后激活。
And then this timer will be active after input two is active.

好的,这次它的输出将激活这个输出,并且当我们说任何变量为真时,我们正在学习设置和重置。
OK, and this time its output will be activate this output and also this lesson we are learning set and reset when we say to any variable is true.

好的,这将被设置为 true。
OK, this will be set to true.

我们需要在程序中的任何位置强制说,如果我将一个变量值更改为 true,我也需要更改为 false。
And we need to say anywhere in our program to force if I change one variable value to true, I need to change also to false.

如果我不这样做,它就会保持不变。
If I don't do this, it will remain true.

因此,这也是设置和重置门户中的一些输出和变量,让我们监视它。
So this is also setting and resetting some outputs and the variables in a portal and let's monitoring it.

现在。
And now.

它应该是活跃的。
It should be active.

好的,现在我们可以从输入开始,一个输入一个将是 false,而不是 true。
OK, and now we can start with the input, one input one is going to be false, not true.

这是真的。
And this is true.

OK,输入一就是二。
OK, input one is two.

输入二为假。
Input two is false.

它来到这里并输入到这个输入中。
It's come to here and input to this input.

二是真。
Two is true.

现在这个计时器正在计时,现在您可以看到结果是正确的。
So now this timer is counting and now you can see the result is true.

好的,在这里,五秒后这些原色在延迟时间点二上给出了输出提示,然后您可以看到该输出是正确的。
OK, in here, these primaries after five seconds gave an output cue on on delay time point two and then this output you can see it is true.

好的,现在我们能做什么。
OK, so now what can we do.

输入为假,现在我们的输出仍然为真。
Input to let's make it false now our output is still remain true.

为什么我们需要在这里说ls。
Why we need to say to here ls.

现在据说。
Now it is said.

输出为零。
Output zero.

希尔皮。
Shilpi.

错误的。
False.

好的,我们来下载一下。
OK, let's do a download.

还有主。
And Lord.

好的,现在输出零再次为假,输入一为真,好的,现在我们需要激活输入使其为真,您现在可以检查输出零。
OK, now output zero is false again, input one is true, OK, and now we need to activate input to it's true and you can check now the output zero.

好吧,现在,嗯,这是真的。
OK, and now, um, in here it's true.

并且输出零为真。
And output zero is true.

好的,你可以在这里看到它。
OK, you can see it in here, in here.

现在,如果这个计时器关闭并且这是错误的,那么输出零就是错误的。
And now if this timer goes off and this is false output zero is false.

是线。
It is line.

好的,这就是我们如何在编程语言中使用计时器,我们可以测试一次来听到,例如,t 。
OK, so this is how can we use on the timer in a programming language and we can test once to hear, for example, t of let's say.

嗯,延迟了。
Um, of delay.

定时器,现在我们可以开始输入了。
Timer, and now we can start with the input.

好的,我们复制到这里,嗯。
OK, let's copy to here, um.

是这样的,我们把这个复制到这里吧。
It's like this, let's copy this to here.

好的,现在我们需要的是,我们需要延迟这个,现在输出,嗯,我们可以把你的 A 帐单,但我不想把它放在这里,比尔就是它是一个。
OK, now what we need, we need to delay this one and now for output, um, we can put your A bill, but I don't want to put it Bill to here is the it is one.

这是正确的。
That's correct.

现在我们需要的是 uh t of 和 这里。
And now what we need this is uh t of and in here.

我会说。
I will say.

这就像。
This is like.

这没关系,所以现在这里有一些问题。
And this is OK, so now in here there is some problem.

我们来检查一下DeLay定时器的问题是什么?
Let's check once what's the problem for of DeLay timer?

好的,现在,没有逗号,这是正确的,现在我们在这里做什么,我们会说延迟时间或点?
OK, now, without a comma, it's correct, and now what will we do in here, we will say of delay time or point?

问:好的,现在会发生什么?
Q OK, and what will happen now?

我们的输出将被激活,然后,呃,将被激活。
Our output will be active and then, uh, will be active.

让我们下载并监控,您将轻松学会它。
Let's do a download and let's monitor and you are going to learn it easily.

首先,嗯,我们让输入为force,输入为false。
First of all, um, let's make input one force and input one is false.

OK,结果输出为假,输出为假。
OK, and the output is false and output is false.

让我们将输入设为一。
Let's make input one.

在这里,如果因为该循环将在输入后运行,则 1 处于活动状态并且输入 1 被激活。
In here, if if because this loop is going to run after input, one is active and input one is activated.

好的,现在我们需要启动这个计时器,好吗?
OK, now in here we need to start for this timer, OK?

输入二处于活动状态,现在突然输出零为真。
And Input two is active and now suddenly output zero is true.

为什么?
Why?

因为这是关闭延迟计时器,五秒后会发生什么?
Because this is off delay timer and after five seconds, what will happen?

所以这是真的,这是真的。
So this is true and this is true.

该输出处于活动状态,并且由于该输出处于活动状态,我们激活了该输出。
And this output is active and because of this output active, we activated this one.

好的,现在我们需要什么,我们需要说强制这个输入五秒后,会发生什么?
OK, now what we need, we need to say for force this input to and after five seconds, what will happen?

该输出将为假。
This output will be false.

让我们做。
Let's make.

假又真,然后是四、三、二、一和零。
False and still true, then four and three and two and one and zero.

所以现在你可以看到输出零再次为假。
So now you can see output zero is false again.

现在让我们将激活输入设置为 true,然后突然激活此输出,我会将其设置为 false。
Now let's make activate input to true than this output suddenly activated and I will make it false.

还有五、四、三、二、一。
And five and four and three and two and one.

现在你可以看到这是错误的。
And you can see now it's false.

好的,这样就可以了。
OK, so this is working.

这就是我们如何使用编程语言来使用延迟和时间增量脉冲的延迟定时器。
This is how can we use on delay and of delay timers in temporal increments pulses with the programming language.

我已经完成这个视频了。
I am finished for this video.

下一个视频见。
See you in the next video.